﻿using SqlKata;
using SqlKata.Compilers;
using Zws.Dapper.Interfaces;

namespace Zws.Dapper.Implements.SqlCompiler
{
    public class SqlServerCompilerWrapper : SqlServerCompiler, ISqlCompiler
    {
        public string QueryToSql(Query query)
        {
            return this.Compile(query).Sql;
        }
    }
}
